package org.softmed.rest.server.core.http.specific;

import org.restlet.data.Method;
import org.softmed.rest.config.HttpMethod;
import org.softmed.rest.config.MimeTypeHandler;
import org.softmed.rest.server.core.handler.HandlerProcessParameters;
import org.softmed.rest.server.core.handler.HandlerProcessor;
import org.softmed.rest.server.core.http.AbstractCommonSpecificHttpMethodProcessor;

public class DeleteProcessor extends AbstractCommonSpecificHttpMethodProcessor
		implements Cloneable {

	public DeleteProcessor clone() {
		return new DeleteProcessor();
	}

	@Override
	public boolean canProcess(HttpMethod method) {
		return method.getName().equalsIgnoreCase(Method.DELETE.getName());
	}

	@Override
	protected String getMimeTypeToProcess() {
		return null;
	}

	@Override
	protected boolean isProcessMimeTypeHandler() {
		return false;
	}

	@Override
	protected void preProcessHttpMethod(HttpMethod requestHttpMethod,
			HandlerProcessor instanceHandlerSolver,
			HandlerProcessParameters parameters) {
		// TODO Auto-generated method stub

	}

	@Override
	protected void postProcessHttpMethod(HttpMethod requestHttpMethod,
			HandlerProcessor instanceHandlerSolver,
			HandlerProcessParameters parameters) {
		// TODO Auto-generated method stub

	}

	@Override
	protected void preProcessMimeType(MimeTypeHandler selectedMimeTypeHandler,
			HttpMethod requestHttpMethod,
			HandlerProcessor instanceHandlerSolver,
			HandlerProcessParameters parameters) {
		// TODO Auto-generated method stub

	}

	@Override
	protected void postProcessMimeType(MimeTypeHandler selectedMimeTypeHandler,
			HttpMethod requestHttpMethod,
			HandlerProcessor instanceHandlerSolver,
			HandlerProcessParameters parameters) {
		// TODO Auto-generated method stub

	}

	@Override
	protected void stopProcessingAfterHttpHandler() {
		// TODO Auto-generated method stub

	}

}
